package springBoot_dzfpxt.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.ManyToOne;

@Entity
public class DzfpTable {

	private Integer id;
	private Boos boos;	//租户的id
	private SysUser user;	//报销人
	private Double money;	//金额
	private Date kaipiaoDate;	//开票日期
	private Date baoxiaoDate;	//报销时间
	private String fpbianhao;	//发票编号
	private String fpdaima;		//发票代码
	private String haoma;	//发票号码
	private String kpdanwei;//开票单位
	
	@Id
	@GeneratedValue
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	@ManyToOne
	public Boos getBoos_id() {
		return boos;
	}
	public void setBoos_id(Boos boos_id) {
		this.boos = boos_id;
	}
	@ManyToOne
	public SysUser getUser_id() {
		return user;
	}
	public void setUser_id(SysUser user_id) {
		this.user = user_id;
	}
	public Double getMoney() {
		return money;
	}
	public void setMoney(Double money) {
		this.money = money;
	}
	public Date getKaipiaoDate() {
		return kaipiaoDate;
	}
	public void setKaipiaoDate(Date kaipiaoDate) {
		this.kaipiaoDate = kaipiaoDate;
	}
	public Date getBaoxiaoDate() {
		return baoxiaoDate;
	}
	public void setBaoxiaoDate(Date baoxiaoDate) {
		this.baoxiaoDate = baoxiaoDate;
	}
	@Column(length=50)
	public String getFpbianhao() {
		return fpbianhao;
	}
	public void setFpbianhao(String fpbianhao) {
		this.fpbianhao = fpbianhao;
	}
	@Column(length=50)
	public String getFpdaima() {
		return fpdaima;
	}
	public void setFpdaima(String fpdaima) {
		this.fpdaima = fpdaima;
	}
	@Column(length=50)
	public String getHaoma() {
		return haoma;
	}
	public void setHaoma(String haoma) {
		this.haoma = haoma;
	}
	@Column(length=50)
	public String getKpdanwei() {
		return kpdanwei;
	}
	public void setKpdanwei(String kpdanwei) {
		this.kpdanwei = kpdanwei;
	}
	public DzfpTable() {
		super();
		// TODO Auto-generated constructor stub
	}
}